package com.my.aslife.module.common;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class PageRequestVo {

    private Integer current = 1;
    private Integer pageSize = 10;
    private Condition condition;

    public PageRequestVo(Integer current, Integer pageSize) {
        this.current = current;
        this.pageSize = pageSize;
    }

    public PageRequestVo(Integer current, Integer pageSize, Condition condition) {
        this.current = current;
        this.pageSize = pageSize;
        this.condition = condition;
    }
}
